from django.urls import path, include
from app import views

urlpatterns = [
    # 1、2、发补贴子
    path('post/', views.PostView.as_view()),
    # 4、redis
    path('postt/', views.PosttView.as_view()),
    # 5、分页查询
    path('posttt/',views.PostttView.as_view()),
    # 6、原生sql查询
    path('postttt/',views.PosttttView.as_view()),
    # 3、获取帖子列表接口
    path('user/',views.UserView.as_view()),
]


